package com.hs.service;

import com.hs.pojo.Teacher;
import com.hs.util.Page;

public interface TeacherService {

    //分页查询
    Page<Teacher> selectTeachers(int pageNum);

    //添加
    int insertTeacher(Teacher teacher);
    //修改  -- 先根据id查询数据
    Teacher selectTeacherById(int id);
    int updateTeacher(Teacher teacher);
    //删除
    int deleteTeacher(int id);



}
